package org.example.springbook.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.springbook.model.UserInfo;

@Mapper
public interface UserMapper {
    //这里应该查出来一个用户
    @Select("select  * from user_info where delete_flag=0 and user_name=#{userName}")
    UserInfo queryUserByUserName(String userName);
}
